package com.purchase.order.mapper;


import com.purchase.manage.damian.OrderList;
import com.purchase.order.domain.DAO.EvaluateDTO;
import com.purchase.order.domain.OrderEvaluate;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface EvaluateMapper {

    //查看未送达货 的订单
    List<OrderList> selectOrderList(OrderEvaluate evaluate);

    //填写评价表
    int insertEvaluate(OrderEvaluate evaluate);

    List<EvaluateDTO> selectList(OrderEvaluate evaluate);

    //查询 需求评价单是否存在
    int selectCount(@Param("orderId") Long orderId,@Param("type") String type);
}
